package com.maiko.usercenter;

import com.maiko.usercenter.config.RedissonConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;


// @EnableDiscoveryClient 是让你的服务“加入注册中心”，成为一个“可以被发现、调用”的微服务。
//@EnableDiscoveryClient
@SpringBootApplication
@MapperScan("com.maiko.usercenter.mapper")
@EnableConfigurationProperties(RedissonConfig.class)
public class UserCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserCenterApplication.class, args);
    }

}
